#pragma once
#include "InterFaceInterpreter.h"
class Expression :public InterFaceExpression
{
public:
    Expression();
    virtual ~Expression();

    //获取操作符;
    char GetOpr();

    //解析操作;
    virtual uint64_t Interpreter(ContextInterpreter &context) override;

    int64_t FindNextNumber(ContextInterpreter& context);

    QChar FindNextOpreation(ContextInterpreter& context);

private:
    //获取头部数字;
    bool m_bFirst;

protected:
    //每个操作的操作符;
    char m_charOpr;
};

